package com.bird.infrastructure.domainconfig.system

import com.bird.system.domain.menu.MenuHandler
import com.bird.system.domain.menu.MenuRepository
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration

@Configuration
class SystemConfig {

    @Bean
    fun menuHandler(menuRepository: MenuRepository): MenuHandler {
        return MenuHandler(menuRepository)
    }

}